package com.ahui.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (YddLink)实体类
 *
 * @author King
 * @since 2022-11-13 11:18:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ydd_link")
public class YddLink implements Serializable {
    private static final long serialVersionUID = 1L;
    //自动增长的id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    private String title;
    
    private String url;
    
    private String des;
    
    private String img;
    /**
     * 1是图片链接，2是文字链接
     */
    private String type;
    /**
     * 是否为默认数据，null表示不是，1表示是
     */
    private String defaultData;


}

